package com.xiaozhengkeji.colastartboot.base.services;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xiaozhengkeji.colastartboot.base.mapper.UserConfigMapper;
import java.util.List;
import com.xiaozhengkeji.colastartboot.base.entitys.UserConfig;
@Service
public class UserConfigService{

    @Resource
    private UserConfigMapper userConfigMapper;

    
    public int deleteByPrimaryKey(Integer uid) {
        return userConfigMapper.deleteByPrimaryKey(uid);
    }

    
    public int insert(UserConfig record) {
        return userConfigMapper.insert(record);
    }

    
    public int insertSelective(UserConfig record) {
        return userConfigMapper.insertSelective(record);
    }

    
    public UserConfig selectByPrimaryKey(Integer uid) {
        return userConfigMapper.selectByPrimaryKey(uid);
    }

    
    public int updateByPrimaryKeySelective(UserConfig record) {
        return userConfigMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(UserConfig record) {
        return userConfigMapper.updateByPrimaryKey(record);
    }

    
    public List<UserConfig> queryByAll(UserConfig userConfig) {
        return userConfigMapper.queryByAll(userConfig);
    }

    
    public List<UserConfig> queryByUid(Integer uid) {
        return userConfigMapper.queryByUid(uid);
    }

}
